Hodrick–Prescott filter

The Hodrick–Prescott filter is a mathematical tool used in macroeconomics, especially in real business cycle theory to separate the cyclical component of a time series from raw data. It is used to obtain a smoothed-curve representation of a time series, one that is more sensitive to long-term than to short-term fluctuations. The adjustment of the sensitivity of the trend to short-term fluctuations is achieved by modifying a multiplier \lambda. The filter was first applied by economists Robert J. Hodrick and Nobel Prize(2004) winner Edward C. Prescott.[1] Though Hodrick and Prescott popularized the filter in the field of economics, it was first proposed by E. T. Whittaker (Whittaker, E. T. (1923). On a new method of graduation, Proceedings of the Edinburgh Mathematical Association, 78, 81-89.)[2]

Contents

The equation

The reasoning for the methodology uses ideas related to the decomposition of time series. Let y_t\, for t = 1, 2, ..., T\, denote the logarithms of a time series variable. The series y_t\, is made up of a trend component, denoted by \tau\, and a cyclical component, denoted by c\, such that y_t\ = \tau_t\ %2B c_t\,.[3] Given an adequately chosen, positive value of \lambda, there is a trend component that will minimize

min \sum_{t = 1}^T {(y_t - \tau _t )^2 }  %2B \lambda \sum_{t = 2}^{T - 1} {[(\tau _{t%2B1}  - \tau _t) - (\tau _t  - \tau _{t - 1} )]^2 }.\,

The first term of the equation is the sum of the squared deviations d_t=y_t-\tau_t which penalizes the cyclical component. The second term is a multiple \lambda of the sum of the squares of the trend component's second differences. This second term penalizes variations in the growth rate of the trend component. The larger the value of \lambda, the higher is the penalty. Hodrick and Prescott advise that, for quarterly data, a value of \lambda=1600 is reasonable.[4]

Drawbacks to the H–P filter

The Hodrick–Prescott filter will only be optimal when:[5]

See also

References

  1. ^ Hodrick, Robert, and Edward C. Prescott (1997), "Postwar U.S. Business Cycles: An Empirical Investigation," Journal of Money, Credit, and Banking, 29 (1), 1–16.
  2. ^ http://cowles.econ.yale.edu/P/cd/d17b/d1771.pdf
  3. ^ Kim, Hyeongwoo. "Hodrick–Prescott Filter" March 12, 2004
  4. ^ Ravn, Morten; Uhlig, Harald (2002). "On adjusting the Hodrick–Prescott filter for the frequency of observations". The Review of Economics and Statistics 84 (2): 371–375. 
  5. ^ French, Mark. "Estimating changes in trend growth of total factor productivity: Kalman and H–P filters versus a Markov-switching framework" September 6th, 2001

External links